package org.nepu.scr.domain.datacompleteness;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.nepu.scr.domain.datacompleteness.converter.CommonInputConverter;
import org.nepu.scr.domain.datacompleteness.vo.CommonInput;

import javax.persistence.Column;
import javax.persistence.Convert;

@Data
@ApiModel(value = "动力及辅助设备证书参数")
public class PowerCertificateParams {

    @ApiModelProperty("主柴油发电机组")
    @Convert(converter = CommonInputConverter.class)
    @Column(name = "main_steam_turbine_group")
    CommonInput mainSteamTurbineGroup;

    @ApiModelProperty("应急柴油发电机组")
    @Convert(converter = CommonInputConverter.class)
    @Column(name = "emergency_steam_turbine_group")
    CommonInput emergencySteamTurbineGroup;

    @ApiModelProperty("空气压缩机")
    @Convert(converter = CommonInputConverter.class)
    @Column(name = "air_compressor")
    CommonInput airCompressor;

    @ApiModelProperty("吊车")
    @Convert(converter = CommonInputConverter.class)
    @Column(name = "truck")
    CommonInput truck;

    @ApiModelProperty("气动、液压绞车")
    @Convert(converter = CommonInputConverter.class)
    @Column(name = "hydraulic_press_truck")
    CommonInput hydraulicPressTruck;

    @ApiModelProperty("平台叉车")
    @Convert(converter = CommonInputConverter.class)
    @Column(name = "platform_truck")
    CommonInput platformTruck;
}
